#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H
#include"sendcheck.h"
#include <QDialog>
//#include"Socket/TCPSocket.h"
namespace Ui {
class Loginwindow;
}

class Loginwindow : public QDialog
{
    Q_OBJECT

public:
    explicit Loginwindow(QWidget *parent = nullptr);
    ~Loginwindow();

//    void GetTCPSocket(TCPSocket *socket);
private slots:
    void on_login_clicked();
    void on_sign_clicked();
    void open(bool a);
    void opencheck();
    void on_findpassword_clicked();

signals:
    void sig_task_login_start(QString uid_me,QString passwd);
    void  openfriendlist();
    void sendid(QString id);
    void  openenroll();
    void openpassword();
    void sendcheck();
private:
    Ui::Loginwindow *ui;
//    TCPSocket * mysocket;

};

#endif // LOGINWINDOW_H
